import Vue from 'vue'
import App from './App.vue'

// Vue.config.productionTip = false
import myRouter from './plugins/myRouter.js'
import "./plugins/myAxios.js"
import './plugins/elementUi.js'
import './plugins/echarts.js'

myRouter.beforeEach((to,from,next) => {
  if(to.meta.title){
    document.title=to.meta.title
  }
  next()
})


new Vue({
  el:'#app',
  router: myRouter,
  render: h => h(App)
}).$mount('#app')
